#ifndef MYDIALOG_H
#define MYDIALOG_H

#include <QWidget>
#include <MyButton.h>

QT_BEGIN_NAMESPACE
class QLabel;
class QLineEdit;
class QPushButton;
QT_END_NAMESPACE

class MyDialog : public QWidget{
    Q_OBJECT

public:
    MyDialog(QWidget *parent = 0);

private slots:
    void setFilePath1();
    void setFilePath2();
    void focusFilePathText1();
    void focusFilePathText2();
    void judgeText();
    void processFiles();

private:
    void setFilePath(QLineEdit *filePathText);

private:
    QLabel *filePathLabel1;
    QLabel *filePathLabel2;
    QLineEdit *filePathText1;
    QLineEdit *filePathText2;
    MyButton *processButton;

};

#endif // MYDIALOG_H
